The value returned by DefaultAttribute depends upon the value selected for the attribute being formatted in the attribute value interface.
DefaultAttribute can be used in conjunction with CurrentFieldValue to conditionally format fields based upon their values and default condition.
The following examples are applicable to Crystal syntax:
if CurrentFieldValue < 0 then DefaultAttribute else crBlack
In Basic syntax, the formula will be:
Formats the font color of the object to print in the default color when the value of the field is less than zero and to print black when the value of the field is greater than zero.
DefaultAttribute is only available when entering formatting formulas.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |